Skip to content

fix: decide whether a line is a staged rebuild before it builds - #30

Merged
HaoZeke merged 1 commit into
mainfrom
fix/staged-before-build
Nov 17, 2026
Merged

HaoZeke merged 1 commit into
mainfrom
fix/staged-before-build

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

The build loop asked is_staged() after the build had run. A rebuild line whose module file was missing ran as plain eb, as the run log warned, but the build installed the module file, so the result file noted that the line ran through eb-staged-rebuild. Had that build failed with exit 2 or 75, its code went through map_staged and the line and the run were reported refused (78) or pending.

The loop now asks once, before the build, as build_cmd does.

The build loop asked is_staged() after the build had run. A rebuild
line whose module file was missing ran as plain eb, as the run log
warned, but the build installed the module file, so the result file
noted that the line ran through eb-staged-rebuild. Had that build
failed with exit 2 or 75, its code went through map_staged and the
line and the run were reported refused (78) or pending.

The loop now asks once, before the build, as build_cmd does.
@HaoZeke
HaoZeke merged commit 8af1f5a into main Nov 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant